using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Chat.remoting
{
    [Serializable]
    public class Msg
    {
        private int idUser;

        public int IdUser
        {
            get { return idUser; }
            set { idUser = value; }
        }
        private int idContact;

        public int IdContact
        {
            get { return idContact; }
            set { idContact = value; }
        }
        private string message;

        public string Message
        {
            get { return message; }
            set { message = value; }
        }

        public Msg(int user, int contact, string message)
        {
            this.idUser = user;
            this.idContact = contact;
            this.message = message;
        }
        
    }
}
